home *** CD-ROM | disk | FTP | other *** search
- BAT2CSH, Version 1.0, Release January 12, 1994
- by
- Bill Pierpoint
-
-
- Description
- -----------
- Bat2csh is a filter program that converts DOS batch files to UNIX C shell
- (csh) scripts. It reads from standard input and writes to standard output.
-
- Installation
- ------------
- 1. You should have all the files listed in the MANIFEST file.
- 2. Copy bat2csh.exe to a directory on your path.
- 3. Copy bat2csh.man to a directory where you keep your documentation,
- or print it for reference.
-
- Source Code
- -----------
- Complete source code for bat2csh is provided. To recompile, you will
- need LEX and a C compiler. I used FLEX 2.3.7 and Borland C 3.1. The
- MAKEFILE is set up for this combination.
-
- FLEX 2.3.7 can be obtained via anonymous ftp from oak.oakland.edu
- (141.210.10.117), directory pub/msdos/textutil, file flex237.zip.
- I needed to make some minor changes to the FLEX.SKL file to make it
- compatible with the Borland C compiler. These changes are in the file
- PATCHES.SKL. Use the PATCH program to apply the patches. PATCH can
- be obtained via anonymous ftp from oak.oakland.edu (141.210.10.117),
- directory pub/msdos/fileutil, file patch12.zip.
-
- The FLEX output is in lexyy.c. If you don't have FLEX and don't want
- to get it, you can make minor changes to this file and recompile.
- However, I think you will find it more satisfactory to use FLEX and
- make changes directly to bat2csh.l.
-
- Distribution
- ------------
- Unlimited/Public Domain. As a professional courtesy, please reference
- the original source in any derived work.
-
- Disclaimer
- ----------
- This software is provided "AS IS" and without any express or implied
- warranties, including, without limitation, the implied warranties of
- merchantability and fitness for a particular purpose.
-
- Contact
- -------
- Please send feedback to:
-
- bill@anacapa.ncel.navy.mil
- or
- Bill Pierpoint
- 1152 Harris Avenue
- Camarillo, CA 93010-2921
-